import { get, post } from '@/utils/request'
const BASE_URL = window.baseUrl.dispose

/** 分页查询 */
export function tableList(query) {
  return post(BASE_URL + '/logTrace/list', query)
}

/** 查询详情json */
export function detail(query) {
  return get(BASE_URL + '/logTrace/detail/' + query)
}
/** 查询详情-列表 */
export function detailList(query) {
  return get(BASE_URL + '/logTrace/detail/inName/' + query)
}
/** 根据字典类型获取字典值 */
export function listByType(query) {
  return get(BASE_URL + '/dictItems/listByType', query)
}
/** 获取左侧筛选树 */
export function getSizerTree(query) {
  return post(BASE_URL + '/logTrace/sizerTree', query)
}
